<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">应用名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control" type="text" value="{$row.name}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">指定会员:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-multiple="true" data-field="nickname" data-order-by="id" data-source="user/user/index" class="form-control selectpage" name="user_id" type="text" value="{$user_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">指定部门:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-multiple="true" data-field="name" data-order-by="id" data-source="department/index/index" class="form-control selectpage" name="dept_id" type="text" value="{$dept_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">指定分组:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-multiple="true" data-field="name" data-order-by="id" data-source="user/group/index" class="form-control selectpage" name="group_id" type="text" value="{$group_id}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>